/* Generated from /Users/ariel/git/darling/src/external/Heimdal/lib/hx509/hx509_err.et */
/* $Id$ */

#include <stddef.h>
#include <com_err.h>
#include "hx509_err.h"

#define N_(x) (x)

static const char *hx_error_strings[] = {
	/* 000 */ N_("ASN.1 failed call to system time library"),
	/* 001 */ N_("Extension not found"),
	/* 002 */ N_("Certification path not found"),
	/* 003 */ N_("Parent certificate is not a CA"),
	/* 004 */ N_("CA path too deep"),
	/* 005 */ N_("Signature algorithm not supported"),
	/* 006 */ N_("Signature algorithm doesn't match certificate key"),
	/* 007 */ N_("Certificate used before it became valid"),
	/* 008 */ N_("Certificate used after it became invalid"),
	/* 009 */ N_("Private key required for the operation is missing"),
	/* 010 */ N_("Algorithm not supported"),
	/* 011 */ N_("Issuer couldn't be found"),
	/* 012 */ N_("Error verifing constraints"),
	/* 013 */ N_("Number too large"),
	/* 014 */ N_("Error while verifing name constraints"),
	/* 015 */ N_("Path is too long, failed to find valid anchor"),
	/* 016 */ N_("Required keyusage for this certificate is missing"),
	/* 017 */ N_("Certificate not found"),
	/* 018 */ N_("Unknown lock command"),
	/* 019 */ N_("Parent certificate is a CA"),
	/* 020 */ N_("Extra data was found after the structure"),
	/* 021 */ N_("Proxy certificate is invalid"),
	/* 022 */ N_("Proxy certificate name is wrong"),
	/* 023 */ N_("Name is malformated"),
	/* 024 */ N_("Certificate is malformated"),
	/* 025 */ N_("Certificate is missing a required EKU"),
	/* 026 */ N_("Proxy certificate not canonicalize"),
	/* 027 */ NULL,
	/* 028 */ NULL,
	/* 029 */ NULL,
	/* 030 */ NULL,
	/* 031 */ NULL,
	/* 032 */ N_("Failed to create signature"),
	/* 033 */ N_("Missing signer data"),
	/* 034 */ N_("Couldn't find signers certificate"),
	/* 035 */ N_("No data to perform the operation on"),
	/* 036 */ N_("Data in the message is invalid"),
	/* 037 */ N_("Padding in the message invalid"),
	/* 038 */ N_("Couldn't find recipient certificate"),
	/* 039 */ N_("Mismatch bewteen signed type and unsigned type"),
	/* 040 */ NULL,
	/* 041 */ NULL,
	/* 042 */ NULL,
	/* 043 */ NULL,
	/* 044 */ NULL,
	/* 045 */ NULL,
	/* 046 */ NULL,
	/* 047 */ NULL,
	/* 048 */ NULL,
	/* 049 */ NULL,
	/* 050 */ NULL,
	/* 051 */ NULL,
	/* 052 */ NULL,
	/* 053 */ NULL,
	/* 054 */ NULL,
	/* 055 */ NULL,
	/* 056 */ NULL,
	/* 057 */ NULL,
	/* 058 */ NULL,
	/* 059 */ NULL,
	/* 060 */ NULL,
	/* 061 */ NULL,
	/* 062 */ NULL,
	/* 063 */ NULL,
	/* 064 */ N_("Internal error in the crypto engine"),
	/* 065 */ N_("External error in the crypto engine"),
	/* 066 */ N_("Signature missing for data"),
	/* 067 */ N_("Signature is not valid"),
	/* 068 */ N_("Sigature doesn't provide confidentiality"),
	/* 069 */ N_("Invalid format on signature"),
	/* 070 */ N_("Mismatch bewteen oids"),
	/* 071 */ N_("No prompter function defined"),
	/* 072 */ N_("Signature require signer, but non available"),
	/* 073 */ N_("RSA public encyption failed"),
	/* 074 */ N_("RSA private encyption failed"),
	/* 075 */ N_("RSA public decryption failed"),
	/* 076 */ N_("RSA private decryption failed"),
	/* 077 */ N_("Algorithm has passed its best before date"),
	/* 078 */ N_("Key format is unsupported"),
	/* 079 */ N_("Out of random"),
	/* 080 */ NULL,
	/* 081 */ NULL,
	/* 082 */ NULL,
	/* 083 */ NULL,
	/* 084 */ NULL,
	/* 085 */ NULL,
	/* 086 */ NULL,
	/* 087 */ NULL,
	/* 088 */ NULL,
	/* 089 */ NULL,
	/* 090 */ NULL,
	/* 091 */ NULL,
	/* 092 */ NULL,
	/* 093 */ NULL,
	/* 094 */ NULL,
	/* 095 */ NULL,
	/* 096 */ N_("CRL used before it became valid"),
	/* 097 */ N_("CRL used after it became invalid"),
	/* 098 */ N_("CRL have invalid format"),
	/* 099 */ N_("Certificate is revoked"),
	/* 100 */ N_("No revoke status found for certificates"),
	/* 101 */ N_("Unknown extension"),
	/* 102 */ N_("Got wrong CRL/OCSP data from server"),
	/* 103 */ N_("Doesn't have same parent as other certificates"),
	/* 104 */ N_("Certificates not in OCSP reply"),
	/* 105 */ NULL,
	/* 106 */ NULL,
	/* 107 */ NULL,
	/* 108 */ N_("No local key attribute"),
	/* 109 */ N_("Failed to parse key"),
	/* 110 */ N_("Unsupported operation"),
	/* 111 */ N_("Unimplemented operation"),
	/* 112 */ N_("Failed to parse name"),
	/* 113 */ N_("Certificate is of unknown type"),
	/* 114 */ NULL,
	/* 115 */ NULL,
	/* 116 */ NULL,
	/* 117 */ NULL,
	/* 118 */ NULL,
	/* 119 */ NULL,
	/* 120 */ NULL,
	/* 121 */ NULL,
	/* 122 */ NULL,
	/* 123 */ NULL,
	/* 124 */ NULL,
	/* 125 */ NULL,
	/* 126 */ NULL,
	/* 127 */ NULL,
	/* 128 */ N_("No smartcard reader/device found"),
	/* 129 */ N_("No smartcard in reader"),
	/* 130 */ N_("No supported mech(s)"),
	/* 131 */ N_("Token or slot failed in inconsistent way"),
	/* 132 */ N_("Failed to open session to slot"),
	/* 133 */ N_("Failed to login to slot"),
	/* 134 */ N_("Failed to load PKCS module"),
	NULL
};

#define num_errors 135

void initialize_hx_error_table_r(struct et_list **list)
{
    initialize_error_table_r(list, hx_error_strings, num_errors, ERROR_TABLE_BASE_hx);
}

void initialize_hx_error_table(void)
{
    init_error_table(hx_error_strings, ERROR_TABLE_BASE_hx, num_errors);
}
